package com.wangy.service;

import com.wangy.bean.User;

import java.util.List;

/**
 * *@Author yyzb
 * *@Date 2024/10/22 17:26
 * *@Version 1.0
 */
public interface UserService {

    User getUserByName(String username);

    List<User> getAllUsers();

    User getUserById(Long id);

    void addUser(User user);

    void deleteById(Long id);
}
